import http from "./http";

// 用户登录接口
export const login = (data) => http.post("/api/user/login", data);

// 用户注册接口
export const register = (data) => http.post("/api/user/register", data);

// 获取用户信息
export const fetchUserInfo = () => http.get("/api/user/info");

